package com.qfedu.dao;

import com.qfedu.entity.Product;

import java.sql.SQLException;
import java.util.List;

public interface ProductDao {
    List<Product> getProductByTypeAndPage(int tid, int currentPage, int pageSize) throws SQLException;
    int getProductByTypeCount(int tid) throws SQLException;
    Product getProductById(int pid) throws SQLException;
}
